<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>JavaWeb访问路径</title>
</head>
<body>
<!--
  1.绝对路径
   a.以主机开头的完整的绝对路径
     http://localhost:8080/......
   b.以/开头绝对路径
     / + Application Context + Servlet的路径
   例如: /day05-servlet/demo01
  2.相对路径
    Demo01.html绝对路径: http://localhost:8080/day05-servlet/path/Demo01.html
    ServletDemo01的绝对路径: http://localhost:8080/day05-servlet/demo01
    去掉相同部分
      Demo01.html: path/Demo01.html
      ServletDemo01: /demo01
      ../向上退一级目录
-->
Demo01.html访问ServletDemo01的绝对路径:
<a href="http://localhost:8080/day05-servlet/demo01">ServletDemo01</a>
<a href="/day05-servlet/demo01">ServletDemo01</a>

<hr/>

Demo01.html访问ServletDemo01的相对路径:
<a href="../demo01">ServletDemo01</a>

</body>
</html>